package com.itmake.webflux.security.constant;

/**
 * token 常量
 *
 * @author Amjacks
 * @since 2023/08/10
 */
public class TokenConstant {

    private TokenConstant() {}

    /**
     * 令牌自定义标识
     */
    public static final String HEADER = "Authorization";

    /**
     * 令牌前缀
     */
    public static final String PREFIX = "Bearer ";

    /**
     * 登录用户 token redis key
     */
    public static final String TOKEN_REDIS_KEY = "login_token:";

    /**
     * 1 分钟
     */
    public static final Long MILLIS_MINUTE = 60 * 1000L;
}
